Integrated tamper detection system and methods

ABSTRACT

The present application describes an integrated module. The integrated module includes a microcontroller, an inertial measurement unit (IMU), a low-power accelerometer, and an environmental sensor. A distance between the environmental sensor and the IMU is greater than a distance between the IMU and the low-power accelerometer. The present application also describes a method of making an integrated module. The present application also describes a tamper detection system.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of priority of U.S. Provisionalapplication No. 62/702,054 filed Jul. 23, 2018, entitled “IntegratedTamper Detection Systems and Methods,” the contents of which isincorporated by reference in its entirety. The instant application isrelated to a U.S. Non-Provisional application entitled, “Methods andApparatuses for Detecting Tamper Using Heuristic Models” and a U.S.Non-Provisional application entitled, “Methods and Apparatuses forDetecting Tamper Using Machine Learning Models” both concurrently filedherewith.

FIELD

This application is generally related to devices, systems and methodsfor detecting tamper via an observed change of the surroundingenvironment associated with an item, object, or device of interest.

BACKGROUND

Detection of tamper events is typically performed by monitoringconditions using a sensor, and depending on the type of sensor employed,a unique identifier may be returned to indicate that a change incondition has occurred. In the related art, one technique employs anaccelerometer to constantly monitor changes based on some externalforce. Alternatively, for optical detection, an image sensor may beemployed to detect changes to a known pixel state from an externalsource.

Each of these techniques has its advantages and drawbacks. For example,accelerometers work well when the item of interest is kept in astationary setting. However, monitoring becomes more complicated if theobject is in a setting where there is constant motion, such as when theobject is being transported on a moving vehicle. Optical detection mayrecognize the item of interest remaining generally in the same physicallocation despite minor motion. However it may be Ineffective inlow-light or no-light environments. Additionally, sensors andimplementations in the related art typically require advanced softwarealgorithms to help analyze and compute when the raw data from a singlesensor should be interpreted as a positive tamper event or whether thereare other external environmental factors present that may cause a falsepositive.

Deep learning has been widely applied to image understanding, speechrecognition, natural language translation, games, and many otherprediction and classification problems. However, machine learningremains a hard problem when implementing existing algorithms and modelsto fit into a given application.

What is needed in the art is a method and system to better filter outfalse positives, to better identify tamper events, and to avoidcomplicated and costly integration efforts associated with pairingexisting devices from various market sectors.

SUMMARY

The foregoing needs are met, to a great extent, with a method and systemcomprising an integrated circuit (IC) or integrated module operable toprovide detection from multiple sensor physics as disclosed in thepresent application. The IC or integrated module may monitor andlog-record all events as they occur. An interface may be provided torelay the logged events for further processing through data analytics.

One aspect of the present application includes an integrated module. Theintegrated module includes a microcontroller, an inertial measurementunit (IMU), a low-power accelerometer, and an environmental sensor. Adistance between the environmental sensor and the IMU is greater than adistance between the IMU and the low-power accelerometer. The presentapplication also describes a method of making an integrated module. Thepresent application also describes a tamper detection system.

Another aspect of the present application includes a method of making anintegrated module. The method includes the step of providing a board.The method also includes a step of locating a microcontroller, aninertial measurement unit (IMU), a low-power accelerometer, anenvironmental sensor. The method further includes a step of arrangingthe microcontroller, the IMU, the low-power accelerometer, and theenvironmental sensor on the board. A distance between the IMU and thelow-power accelerometer is greater than a distance between the IMU anddie microcontroller.

Yet another aspect of the present application includes a tamperdetection system. The tamper detection system includes a consumerarticle and an integrated module arranged proximal to the consumerarticle. The integrated module includes a microcontroller, an inertialmeasurement unit (IMU), a low-power accelerometer; and an environmentalsensor.

There has thus been outlined, rather broadly, certain inventiveembodiments of the present application in order that the detaileddescription thereof herein may be belter understood, and in order thatthe present contribution to the art may be better appreciated. Thereare, of course, additional embodiments that will be described below andwhich will form the subject matter of the claims appended hereto.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to facilitate a fuller understanding of the inventive aspectsin the present application, reference is now made to the accompanyingdrawings, in which like elements are referenced with like numerals.These drawings should not be construed as limiting the invention andintended only to be illustrative.

FIG. 1A illustrates a system diagram of an exemplary communicationsystem in which one or more disclosed aspects may be implemented.

FIG. 1B illustrates a system diagram of an exemplary communicationnetwork node.

FIG. 1C illustrates a block diagram of an exemplary computing system.

FIG. 1D illustrates exemplary firmware implemented in one or more aspectof the present application.

FIG. 1E illustrates a block diagram of an exemplary integrated circuit(IC) or integrated module in accordance with aspects of the presentapplication.

FIG. 2A illustrates an architecture of the tamper device according to anaspect of the application.

FIG. 2B illustrates a side view of FIG. 2A.

FIG. 2C illustrates a top view of FIG. 2A including capacitors on theboard according to an exemplary embodiment of this aspect.

FIG. 3A illustrates a flowchart illustrating an exemplary method ofdetecting a tamper event in accordance with aspects of the presentapplication.

FIG. 3B illustrates a heuristic algorithm for detecting tamper accordingto an aspect.

FIGS. 4A-D illustrate different sensing profile embodiments ranging froma closed container, controlled access, drawer, and open access inreference to the heuristic algorithm aspect.

FIG. 5A illustrates a method of evaluating one or more machine learningalgorithms for classifying sensor data according to an aspect of theapplication.

FIG. 5B illustrates an exemplary embodiment directed to training a modelstructure for detecting tamper events using an exemplary machinelearning algorithm.

FIG. 5C illustrates an exemplary method for preprocessing sensor dataemployed for the training model depicted in FIG. 5B.

FIGS. 6A-6C illustrate exemplary use cases employing one or more ofheuristic and machine learning algorithms described in the application.

DETAILED DESCRIPTION

In this respect, before explaining at least one embodiment of thepresent application in detail, it is to be understood that the inventionis not limited in its application to the details of construction and tothe arrangements of the components set forth in the followingdescription or illustrated in the drawings. The invention is capable ofembodiments in addition to those described and of being practiced andcarried out in various ways. Also, it is to be understood that thephraseology and terminology employed herein, as well as the abstract,are for the purpose of description and should not be regarded aslimiting.

Reference in this application to “one embodiment,” “an embodiment,” “oneor more embodiments,” or the like means that a particular feature,structure, or characteristic described in connection with the embodimentis included in at least one embodiment of the disclosure. Theappearances of, for example, the phrases “an embodiment” in variousplaces in the specification are not necessarily all referring to thesame embodiment, nor are separate or alternative embodiments mutuallyexclusive of other embodiments. Moreover, various features are describedwhich may be exhibited by some embodiments and not by the other.Similarly, various requirements are described which may be requirementsfor some embodiments but not by other embodiments.

It has been determined by the inventors and described herein that theinventive method and system provides an integrated solution that willautomatically monitor and identify tamper events, provide time and dateinformation of the actual tamper event, and relay the information backto host devices system for further action. The present method and systemmay be applied to any device, object, or item that would benefit fromtamper detection, providing the system and/or relevant users with anupdate that the item has been tampered with, moved, or that someenvironmental change has occurred. Items that could benefit from tamperdetection may comprise personal electronics (including, but not limitedto, cellphones, laptops, and tablets), industrial equipment (including,but not limited to, sensitive instrumentation and expensive cargo),government equipment (including, but not limited to, weapons, tools, andvehicles), and Internet of Things (IoT) devices (including, but notlimited to, sensors, controls, actuators, and appliances). Other itemsthat may benefit from tamper detection may include backpack, purses, andother valuable items.

In a first aspect of the application, an integrated module is providedfor detecting tamper events. The integrated module includes amicrocontroller, an inertial measurement unit (IMU) including one ormore of an accelerometer, gyroscope and magnetometer, a low-poweraccelerometer, and an environmental sensor including one or more of atemperature, pressure and humidity sensor.

In a second aspect of the application a method of making an integratedmodule is described.

In a third aspect of the application, a tamper detection system isdescribed. The tamper detection system includes a consumer article andan integrated module.

In a further aspect of the application, a method of detecting tamperevents is described. In one aspect, the method employs a heuristicalgorithm. In another aspect, the method employs a machine learningalgorithm.

General Architecture

FIG. 1A is a diagram of an example machine to machine (M2M), Internet ofThings (IoT), or web of things (WoT) communication system 10 (i.e.,labeled as reference indicator 10 in FIG. 1A with a similar format usedthroughout for other elements in the figures of this application) inwhich one or more disclosed embodiments may be implemented.

As shown in FIG. 1A, the M2M, IoT, or WoT communication system 10includes a communication network 12. The communication network 12 may bea fixed network (e.g., Ethernet, Fiber, Integrated Services DigitalNetwork (ISDN), Power Line Communication (PLC), or the like), a wirelessnetwork (e.g., Wireless Local Area Network (WLAN), cellular, or thelike), or a network of heterogeneous networks. For example, thecommunication network 12 may be comprised of multiple access networksthat provide content such as voice, data, video, messaging, broadcast,or the like to multiple users. The communication network 12 may compriseother networks, such as a core network, the Internet, a sensor network,an industrial control network, a personal area network, a fused personalnetwork, a satellite network, a home network, or an enterprise network.

As shown in FIG. 1A, the M2M, IoT, or WoT communication system 10 mayinclude M2M gateway devices 14 and M2M terminal devices 18. It will beappreciated that any number of M2M Gateway Devices 14 and M2M terminaldevices 18 may be included in the M2M, IoT, WoT communication system 10as desired. Each of the M2M gateway devices 14 and M2M Terminal devices18 are configured to transmit and receive signals, such as viacommunications circuitry, the communication network 12, or direct radiolink. For example, the M2M terminal devices 18 may collect data and sendthe data, via the communication network 12 or direct radio link, to anM2M application 20 or other M2M terminal device 18. The M2M terminaldevices may include consumer electronic devices. The M2M terminaldevices 18 may also receive data from the M2M application 20 or anotherM2M terminal device 18. In a further embodiment, data and signals may besent to and received from the M2M application 20 via an M2M ServiceLayer 22, as described below. Exemplary M2M terminal devices 18 thatcould be impacted by the presence of a tamper event include, but are notlimited to, tablets, smart phones, medical devices, temperature andweather monitors, heavy machinery, consumer electronics, crypto,security devices, recreational equipment, and the like.

FIG. 1B is a block diagram of an exemplary hardware/softwarearchitecture of a node 30 of a network. The node 30 may include aprocessor 32, non-removable memory 44, removable memory 46, aspeaker/microphone 38, a keypad 40, a display, touchpad, and/orindicators 42, a power source 48, a global positioning system (OPS)chipset 50, and other peripherals 52. The node 30 may also includecommunication circuitry, such as a transceiver 34 and a transmit/receiveelement 36. The node 30 may include any sub-combination of the foregoingelements while remaining consistent with an embodiment.

The processor 32 may be a general purpose processor, a special purposeprocessor, a conventional processor, a digital signal processor (DSP), aplurality of microprocessors, one or more microprocessors in associationwith a DSP core, a controller, a microcontroller. Application SpecificIntegrated Circuits (ASICs), Field Programmable Gate Array (FPGAs)circuits, any Other type of integrated circuit (IC), a state machine,and the like. In general, the processor 32 may executecomputer-executable instructions stored in the memory (e.g., memory 44and/or memory 46) of the node 30 in order to perform the variousrequired functions of the node 30. For example, the processor 32 mayperform signal coding, data processing, power control, input/outputprocessing, and/or any other functionality that enables the node 30 tooperate in a wireless or wired environment. The processor 32 may runapplication-layer programs (e.g., browsers) and/or radio-access-layer(RAN) programs and/or other communications programs. The processor 32may also perform security operations, such as authentication, securitykey agreement, and/or cryptographic operations. The security operationsmay be performed, for example, at the access layer and/or applicationlayer.

As shown in FIG. 1B, the processor 32 is coupled to its communicationcircuitry (e.g., transceiver 34 and transmit receive element 36). Theprocessor 32, through the execution of computer-executable instructions,may control the communication circuitry to cause the node 30 tocommunicate with other nodes via the network to which it is connected.While FIG. 1B depicts the processor 32 and the transceiver 34 asseparate components, the processor 32 and the transceiver 34 may beintegrated together in an electronic package or chip.

The transmit/receive element 36 may be configured to transmit signalsto, or receive signals from, other nodes, including M2M servers,gateways, wireless devices, and the like. For example, in an embodiment,the transmit/receive element 36 may be an antenna configured to transmitand/or receive RF signals. The transmit/receive element 36 may supportvarious networks and air interfaces, such as WLAN, WPAN, cellular, andthe like. In an embodiment, the transmit/receive element 36 may be anemitter/detector configured to transmit and/or receive IR, UV, orvisible light signals, for example. In yet another embodiment, thetransmit/receive element 36 may be configured to transmit and receiveboth RF and light signals. The transmit/receive element 36 may beconfigured to transmit and/or receive any combination of wireless orwired signals.

In addition, although the transmit receive element 36 is depicted inFIG. 1B as a single element, the node 30 may include any number oftransmit, receive elements 36. More specifically, the node 30 may employmultiple-input and multiple-output (MIMO) technology. Thus, in anembodiment, the node 30 may include two or more transmit/receiveelements 36 (e.g., multiple antennas) for transmitting and receivingwireless signals.

The transceiver 34 may be configured to modulate the signals that are tobe transmitted by the transmit receive element 36 and to demodulate thesignals that are received by the transmit/receive element 36. As notedabove, the node 30 may have multi-mode capabilities. Thus, thetransceiver 34 may include multiple transceivers for enabling the node30 to communicate via multiple RATs, such as Universal Terrestrial RadioAccess (UTRA) and IEEE 802.11, for example.

The processor 32 may access information from, and store data in, anytype of suitable memory, such as the non-removable memory 44 and/or theremovable memory 46. For example, the processor 32 may store sessioncontext in its memory, as described above. The non-removable memory 44may include random-access memory (RAM), read-only memory (ROM), a harddisk, or any other type of memory storage device. The removable memory46 may include a subscriber identity module (SIM) card, a memory stick,a secure digital (SD) memory card, and the like. In other embodiments,the processor 32 may access information from, and store data in, memorythat is not physically located on the node 30, such as on a server or ahome computer.

The processor 32 may receive power from die power source 48, and may beconfigured to distribute and/or control the power to the othercomponents in the node 30. The power source 48 may be any suitabledevice for powering the node 30. For example, the power source 48 mayinclude one or more dry cell batteries (e.g., nickel-cadmium (NiCd),nickel-zinc (NiZn), nickel metal hydride (NiMH), lithium-ion (Li-ion),etc.), solar cells, fuel cells, and the like.

The processor 32 may also be coupled to the GPS chipset 50, which isconfigured to provide location information (e.g., longitude andlatitude) regarding the current location of the node 30. The node 30 mayacquire location information by way of any suitablelocation-determination method while remaining consistent with anembodiment.

The processor 32 may further be coupled to other peripherals 52, whichmay include one or more software and/or hardware modules that provideadditional features, functionality, and/or wired or wirelessconnectivity. For example, the peripherals 52 may include variouscomponent, such as for example, an IMU including one or more of anaccelerometer, gyroscope, or magnetometer; light sensor; additionalmicrophone(s); environmental sensors including one or more of atemperature, pressure, humidity sensor, proximity sensor; light sensor;satellite transceiver, digital camera (for photographs or video),universal serial bus (USB) port or other interconnect interfaces,vibration device, television transceiver, bands free headset, Bluetooth®module, frequency modulated (FM) radio unit, digital music player, mediaplayer, video game player module, Internet browser, and the like.

The node 30 may be embodied in other apparatuses or devices, such as asensor, consumer electronics, a wearable device such as a smart watch orsmart clothing, a medical or eHealth device, a robot, industrialequipment, a drone, vehicles such as cars, trucks, trains, boats,aircraft and the like. The node 30 may connect to other components,modules, or systems of such apparatuses or devices via one or moreinterconnect interfaces, such as an interconnect interface that maycomprise one of the peripherals 52.

FIG. 1C is a block diagram of an exemplary computing system 90 that mayalso be used to implement one or more nodes (e.g., clients, servers, orproxies) of a network, which may operate as an M2M server, gateway,device, or other node in an M2M network.

The computing system 90 may comprise a computer or server and may becontrolled primarily by computer-readable instructions, which may be inthe form of software, by whatever means such software is stored oraccessed. Such computer-readable instructions may be executed within aprocessor, such as a central processing unit (CPU) 91, to cause thecomputing system 90 to effectuate various operations. In many knownworkstations, servers, and personal computers, the CPU 91 is implementedby a single-chip CPU called a microprocessor. In other machines, the CPU91 may comprise multiple processors. A co-processor 81 is an optionalprocessor, distinct from the CPU 91 that performs additional functionsor assists the CPU 91.

In operation, the CPU 91 fetches, decodes, executes instructions, andtransfers information to and from other resources via the computer'smain data-transfer path, a system bus 80. Such a system bus 80 connectsthe components in the computing system 90 and defines the medium fordata exchange. The system bus 80 typically includes data lines forsending data, address lines for sending addresses, and control lines forsending interrupts and for operating the system bus 80. An example ofsuch a system bus 80 is the PCI (Peripheral Component Interconnect) bus.

Memories coupled to the system bus 80 include RAM 82 and ROM 93. Suchmemories include circuitry that allows information to be stored andretrieved. The ROM 93 generally contains stored data that cannot easilybe modified. Data stored in the RAM 82 may be read or changed by the CPU91 or other hardware devices. Access to the RAM 82 and/or the ROM 93 maybe controlled by a memory controller 92. The memory controller 92 mayprovide an address translation function that translates virtualaddresses into physical addresses as instructions are executed. Thememory controller 92 may also provide a memory protection function thatisolates processes within the system and isolates system processes fromuser processes. Thus, a program running in a first mode may access onlymemory mapped by its own process virtual address space. It cannot accessmemory within another process's virtual address space unless memorysharing between the processes has been set up.

In addition, the computing system 90 may contain a peripheralscontroller 83 responsible for communicating instructions from the CPU 91to peripherals, such as a printer 94, a keyboard 84, a mouse 95, and adisk drive 85.

A display 86, which is controlled by a display controller 96, is used todisplay visual output generated by the computing system 90. Such visualoutput may include text, graphics, animated graphics, and video. Thedisplay 86 may be implemented with a CRT-based video display, anLCD-based flat-panel display, gas plasma-based Hat-panel display, or atouch-panel. The display controller 96 includes electronic componentsrequired to generate a video signal that is sent to the display 86.

Further, the computing system 90 may contain communication circuitry,such as a network adaptor 97, that may be used to connect the computingsystem 90 to an external communications network, such as thecommunication network 12 of FIG. 1A, to enable the computing system 90to communicate with other nodes of the network.

Firmware

FIG. 1D illustrates an exemplary embodiment of the employed firmwarearchitecture. As depicted, the hardware abstractions include a GPIO,SPI, I2C and IRQ. The Platform support includes clock/power management,a system time base and RTC. Below the hardware abstractions and platformsupport is General Support Libraries. General Support Libraries includesdata structure, timer management, file system drivers, flash translationlayer, multitasking and scheduling and C standard lib (newlib).

Under General Support Libraries are Board Support and ApplicationSubmodule Libraries. Board Support includes linker script, startup code,GPIO and peripheral descriptions, and hoard-specific functionality.Application Submodule Libraries include virtual file system, POSIXlayer, system self-test, debug logging, console interface, eventlogging, config data storage, and USB CDC Device.

Below Board Support and Application Submodule Libraries are the Drivers.The Drivers include PDM microphone, MC3672 Accelerometer, MAX44009 LightSensor, BMX160 IMU, BME280 Environmental Sensor and LIS3MDLMagnetometer.

Below the Drivers is Application Code. It is envisaged the Firmware ofFIG. 1D can be employed by the processor as described in FIGS. 1B and 1Cabove.

Integrated Circuit

According to another embodiment, FIG. 1E illustrates an exemplaryintegrated circuit (IC) or integrated module 1000 for performing tamperdetection. In accordance with one aspect, the integrated module 1000 mayinclude a plurality of sensor types. The sensor types for the integratedmodule 1000 may include one or more of a 3-axis gyroscope 1010, amicrophone 1020, a pressure sensor 1030, a 3-axis accelerometer 1040, ahumidity sensor 1050, a temperature sensor 1060, a light sensor 1070, a3-axis magnetometer 1080, and a proximity sensor 1090. By obtaining datafrom multiple sensor types, such as the sensors listed above, theintegrated module 1000 is capable of filtering out more false alarms andbe more capable of identifying positive tamper event.

The integrated module 1000 may further comprise an input-outputinterface 1100, a processor 1200, and a memory 1300. The processor 1200is operable to read data from the plurality of sensor types, and thedata may be obtained via the input/output interlace 1100. The processor1200 may execute algorithms to characterize the data from the pluralityof sensor types and determine if a tamper event is occurring or hasoccurred. The algorithm may be stored and read from the memory 1300, orany other non-transitory memory accessible by the processor 1200. In theevent the processor 1200 has determined that a tamper event is occurringor has occurred, the processor 1200 may execute a command to store orlog the tamper detection event to the memory 1300. The tamper detectionevent may be stored or logged with time and date information in thememory 1300. The integrated module 1000 may be formed as a singleintegrated circuit with the plurality of sensor types, the input/outputinterface 1100, the processor 1200, and the memory 1300 all embeddedtogether onto the single integrated circuit.

In addition to the memory 1300, a secondary memory (not shown) may alsobe provided on board with the integrated module 1000. It may also beprovided at a second location in order to provide redundancy and enableretrieval of data remote from the integrated module 1000 if thesecondary memory is configured separately from the integrated module1000. The input/output interface 1100 may comprise a USB interface, aBluetooth® module, SPI, I2C, QSPI, UART and/or an output feedbackmodule.

In accordance with an aspect of the present application, the processor1200 may receive data from one or more of the 3-axis gyroscope 1010, themicrophone 1020, the pressure sensor 1030, the 3-axis accelerometer1040, the humidity sensor 1050, the temperature sensor 1060, the lightsensor 1070, the 3-axis magnetometer 1080, and the proximity sensor1090. The received data may be applied to or taken into consideration bythe algorithm executed by the processor 1200 in making a determinationof whether a tamper event is present. For example, data received fromthe 3-axis accelerometer 1040 may signify a change in acceleration,which may be indicative that the item of interest may be moving or hasbeen moved. Data received from the 3-axis magnetometer 1080 may alsosignify a change in orientation, or a change in the magnetic fieldaround the module, further indicating that the item of interest may bemoving or has been moved from its previous position and location. Thecombination of data obtained from the plurality of sensor typestherefore provides improved means for filtering false positives andassists in more accurately determining an actual tamper event.

In one exemplary embodiment, the integrated module 1000 may comprise themicrophone 1020, the 3-axis accelerometer 1040, the light sensor 1070,the input/output interlace 1100, the processor 1200, and the memory1300. Each of these elements may be embedded together onto a singleintegrated circuit or module. The integrated module 1000 may beconnected to a time-date engine and a power conditioning module (notshown). The power conditioning module may be used to regulate and/or tosupply power to the integrated module 1000 and/or to the greater hostdevices system.

The processor 1200 may receive data from one or more of the microphone1020, the 3-axis accelerometer 1040, and the light sensor 1070. Thereceived data may be applied to or taken into consideration by thealgorithm executed by the processor 1200 in making a determination ofwhether a tamper event is present. For example, data received from the3-axis accelerometer 1040 may signify a change in acceleration, whichmay be indicative that the item of interest may be moving or has beenmoved. Changes in lighting condition detected by the light sensor 200may further signify that the item of interest may be moving or has movedto a different environment, further indicating that the item of interestmay be moving or has been moved from its previous position and location.The combination of data obtained from the plurality of sensor typestherefor provides improved means for filtering false positives andassist in more accurately determining an actual tamper event.

The processor 1100 is operable to read data, via the input-outputinterface 1100, from one or more of the microphone 1020, the 3-axisaccelerometer 1040, and the light sensor 1070. The processor is furtheroperable to execute algorithms to characterize the retrieved data fromthe plurality of sensor types, and determine if a tamper event hasoccurred or is occurring. In the event the processor 1200 has determinedthat a tamper event has occurred or is occurring, the processor 1200 mayexecute a command to store or log the tamper detection event to thememory 1300 and the secondary memory. The tamper detection event may bestored or logged with time and date information into the memory 1300 andthe secondary memory, and the time and date information may be retrievedfrom the time/date engine.

The processor 1200 may execute an interrupt sequence when the tamperdetection event is present. The processor 1200 may send a command orrequest to the host devices system via one or more of the USB interlace,the Bluetooth® module, and the output feedback module. The command orrequest may include an alert to a relevant user of the item of interest,initiate a pre-specified procedure to disable the item of interest, wipeinformation that may be stored on the item of interest, or provide livetracking of the item of interest. In accordance with another aspect, theBluetooth® module may be configured as a Bluetooth® Low Energy (BLE)device.

In another embodiment as shown in FIG. 2A, the IC 200 may include pluralBenson) on the board. Namely, these sensors may include an IMU 210,low-power accelerometer 220, Environment sensor 230, light sensor 240and microphone 250. The IC may also include a microcontroller 260. Eachof the low-power accelerometer 220, environmental sensor 230, lightsensor 240, microphone 250 and microcontroller 260 operates at about 36uμA, 750 μA, 240 μA, 150 μA and 30 mA, respectively. It is envisagedthese values have a degree of error of about ±10%.

In further reference to FIG. 2A, an exemplary distance and noise targetbetween the IMU 210 and each of the other components is shown. The IMU210 receives a noise target less than 100 nT. For example, the distancebetween the IMU 210 and low power accelerometer 220 is about 7.5 mm, atwhich distance the 36 micro-Amperes of current expected to flow in lowpower accelerometer 220 is expected to induce a negligible change in themagnetic field strength at the location of IMU 210 (i.e., 0 nT afterrounding). The distance and noise target between the IMU 210 and theenvironmental sensor 230 are about 9 mm and about 5 nT. The distance andnoise target between the IMU 210 and the light sensor 240 are about 7 mmand about 10 nT, respectively. The distance and noise target between theIMU 210 and the microphone 250 are about 3.7 mm and about 6 nT,respectively. The distance and noise target between the IMU 210 and themicrocontroller 260 are about 1.6 mm and about 90 nT. It is It isenvisaged these values have a degree of error of about ±20%, preferably10% and more preferably 5%.

In further reference to FIG. 2A, off-board power supplies 280 areoperably in communication with the microcontroller 260. The off-boardpower supplies 280 include but are not limited to a core and I/O, USBand battery back-up. Each of these devices operates at or below about3.6V with a 10% degree of error. Separately, the microcontroller 260 isoperably in communication with one or more off-board interlace 290including but not limited to a USB, SD/MMC, serial peripheral interlace(SPI), inter-IC (I2C), OctoSPI and GPIO.

According to another embodiment of the aspect illustrated in FIG. 2A, apopulated view of the IC with one or more capacitors on the board isshown in FIG. 2B. It is envisaged that the number of capacitors iscontingent upon the power necessary to be generated.

Even further, FIG. 2G illustrates a side view of FIG. 2A. FIG. 2Cexemplarily illustrates one or more sensors in reference to themicrocontroller, an oscillator, and one or more capacitors.

Heuristic Event Detection

According to another aspect of the application in reference to FIG. 3A,a method of monitoring and identifying tamper events is provided. Thismethod generally involves heuristic detection. In accordance with anembodiment of this aspect, the method may comprise one or more of a datacollection step 3100, a data retrieval and analysis step 3200, a tamperdetermination step 3300, a tamper event logging step 3400, and aninterrupt request step 3500.

In the data collection step 3100, the tamper detection system maycollect data from a plurality of sensor types, which may include thosedescribed above with reference to FIG. 2A. The collected data may beretrieved by a processor through the use of an input/output interface ormodule and then processed using data analysis in the data retrieval andanalysis step 3200. Data from the different sensor types may be appliedto the tamper detection algorithm in the tamper determination step 3300.Prior to or during the tamper determination step 3300, the data from thedifferent sensor types may be appropriately weighted and filtered, aswould be appreciated by one skilled in the art. Once the tamperdetection algorithm has been executed, the presence of a tamper event isdetermined. If a tamper event is present, the method may proceed to thetamper event logging step 3400 where occurrence of the tamper event isrecorded into memory. In accordance with one aspect of the presentapplication, recordation of the tamper event is saved to local memory ofthe tamper detection system. Additionally, or alternatively, the tamperevent may be saved to memory or other data storage at a remote location.The recordation of the tamper event may include one or more of the date,time, sensor data, and sensor type or types associated with the detectedtamper event.

The interrupt request step 3500 may be executed once the presence of thetamper event is determined. The interrupt request may cause the tamperdetection system (via the processor and input/output interface, forexample) to send an alert to a relevant user of the item to indicatetamper detection, initiate a pre-specified procedure to disable the itemof interest, initiate a wipe procedure to delete information that may bestored on the item of interest, and/or provide live location tracking ofthe item of interest.

Whether or not a tamper event is present at step 3300, the method mayreturn to the data collection step 3100 to continue searching for a newtamper event or to monitor the continuation of a previously detectedtamper event. The combination of above steps may be repealedindefinitely or as needed until the method of monitoring and identifyingtamper events is terminated or disabled by an authorized user.

According to yet another embodiment, a method and apparatus fordetecting tampering is illustrated in FIG. 3B. As provided in FIG. 3B,one or more sensor drivers 300 provides raw data. These raw dataprovided by these one or more sensors include but are not limited tolight, acceleration, magnetic field, rotation, temperature, pressure,humidity and audio.

As shown in FIG. 3B, the sensor data is collected and timestamped in arepository 310. Namely, sensor and analysis streams can be enabled,disabled, and configured independently by the firmware. The raw sensordata may undergo one or more preprocessing tasks 305 in order totransform the data into a form useful for downstream evaluation. Thepreprocessing (asks may include but mil limited to FFT, baseline/anomaly(e.g., high-pass FIR/IIR filter with simplified tuning parameters),weighted sum, derivative, FIR/IIR filter and magnitude.

As further shown in FIG. 3B, the raw data is sent to an evaluationmodule 320 that conducts one or more evaluation tasks. It is noted thatall raw and preprocessed sensor data becomes available to downstreamdecision tasks through a multi-producer, multi-consumer bounded FIFO.The evaluation tasks performed by the engine may involve simpleoperations on the preprocessed data. These tasks may include checksagainst configurable thresholds. Moreover, the tasks may include outputdecisions or scores. These decisions or scores are collected into avector. By so doing, other engines in the system can observe the valuesas well as receive notifications when a score has changed.

As shown in FIG. 3B, the evaluation tasks performed by the evaluationmodule 320 are directed to light, acceleration, magnetic field, rotationand audio. For example, in one embodiment, the evaluation of light iswhether it is greater than 10 lux. In another embodiment, the evaluationof a magnitude of acceleration, with anomaly pre-processing, is whetherit is greater than 0.1 g.

In yet another embodiment, the evaluation of a magnitude of magneticfield, with derivative and anomaly pre-processing, is whether itsmagnitude is changing at a rate greater than 4 μT/s. In yet even anotherembodiment, the evaluation of magnitude of rotation of the gyroscope,with anomaly pre-processing, is whether it is changing al a rate greaterthan 10 degrees. In yet even a further embodiment, the evaluation ofaudio is 32+dB(FFT(Audio)*A-weight factor. The audio is preprocessedwith FFT.

Based on the evaluations, a score vector is produced for each evaluationtask. For example, the light evaluation returned a value of 0. Thismeans the light did not exceed 10 lux. On the other hand, both theacceleration and magnetic field are shown in FIG. 3B as exceeding theirrespective thresholds, and therefore returned values of 1. One or moreapplications may normalize the scores to a range, or at least bias themso that ‘0’ is a critical threshold. It is envisaged that the outputscan be binary and/or numeric.

Next as shown in FIG. 3B, a score evaluation module 330 captures thescore vectors from the evaluation task module 320, and determines anappropriate course of action. The score evaluation module is runninglogic to make these determinations. It is envisaged lite scoreevaluation is based upon custom code for specific applications, but insome embodiments may be as simple as testing whether a specified numberof scores exceed zero. The determination may include logging the eventsor raw data. In another embodiment, the determination may includepassing the data to other processors on the host device. In yet anotherembodiment, the determination may include both of the preceding actions.

As further shown in FIG. 3B, the score evaluation may be transmitted toa user interface (UI) 340. The UI resides on a host device, such asshown in FIG. 1B, and may include a smart device, such as for example, aphone, tablet, wearable or similar medium by which the user is madeaware of the alert message. One of the actions that may occur on the UIis entering a state of alert. An alert state can involve customizableaudio and visual alerts, such as for example a siren and blinking LEDsas well as their intensities.

Another action of the UI 340 may include sending an alert message to auser. The message may be sent to the UI via a tamper detectionapplication installed on the user's host device.

Yet another action may include clearing the alert via an authenticateduser. Namely, subsequent to a false positive and/or true tamperdetection, the user may wish to silence the alert This may be necessarybased on the user's current locations. For example, if the user is at alibrary or in a business meeting.

Yet even another action of the UI is the ability to view and export theevent and data logs. This may be useful to preserve a record of allevents and means by which the alert is triggered. It is envisaged inthis application that the transmission is via USB, Bluetooth, wi-fi orcellular.

According to an embodiment of this aspect, it is envisaged that thesensing profile of the modules as exemparily described above dependsupon the environment and location of the tamper detection device. Forexample, FIGS. 4A-D illustrate different sensing profiles ranging from aclosed container, controlled access, drawer, and open access. Theactions illustrated in FIGS. 4A-D are similar to the actions describedin relations to reference elements 300, 305,310 and 320 depicted in FIG.3. As illustrated in FIG. 4A, the exemplary sensing profile is fordevices inside closed containers. Closed containers may include but arenot limited to personal consumer articles such as a bag, purse,briefcase, wallet, or luggage. In essence, the container is expected tobe mobile but in a closed arrangement. The ambient environment is notexpected to rapidly change.

In FIG. 4A, the raw sensor data includes temperature data, pressuredata, humidity data, light data and the like. It is envisaged thesensors collect data at low data rates to reduce power consumption.However, once a tamper event is detected, one or more, and preferablyall, sensors are enabled and operate at a higher data rate for loggingdata attributed to the tamper event. It is envisaged that one or more ofthe sensors may be sampled less frequently than others in view of powerconsumption requirements and the sensing profile.

As further shown in FIG. 4A, the raw sensor data of one or more Kristinpasses through an anomaly in the evaluation task. One or more sensorsmay be resampled (e.g., light data) in the evaluation task. Theanomalies are subsequently filtered and down sampled. Further, the datais compared against a predetermined threshold. A score vector takes thisinformation into consideration.

FIG. 4B illustrates a controlled access sensing profile. This profile isenvisaged for devices in tightly-controlled environments. The ambientenvironment is not expected to rapidly change. These environments mayinclude a safe, fixed equipment such as ATMs, fuel pumps,telecommunications equipment and the like. In addition to the sensorsshown in FIG. 4A, FIG. 4B includes an accelerometer, magnetometer andgyroscope for measuring acceleration, magnetic field and rotation,respectively. Similar actions are performed in FIG. 4B as describedabove for FIG. 4A. That is, raw sensor data is collected followed bypreprocessing for anomalies before comparing against a threshold andoutputtmg a score vector.

FIG. 4C illustrates a drawer-style sensing profile. This profile isenvisaged for tamper devices stored in a location that is expected to beaccessed for other purposes. The tamper device would not be manipulated.The sensing profile may include linear slide movement along oneconsistent axis.

FIG. 4D illustrates an open access sensing profile. This profile isintended for devices in environments where ambient conditions areexpected to change. The environment is intended to remain stationary.However, the tamper device should not be manipulated. This profile mayinclude environments such as a desk or bookshelf.

Methods and Systems of Detecting Tamper Events with Machine LearningAlgorithms

According to another aspect of the application, FIG. 5A illustrates anembodiment 550 for evaluating one or more machine learning methods forclassifying sensor data. Generally, machine learning Is employed whenthe task is too robust or complex for humans to code directly. That is,the task would be impossible for humans to evaluate and configure codebased upon the data set.

Machine learning aids in recognizing patterns such as for examplespecific types of tamper events in a particular environment/sensingprofile. The sensing profiles described above in this applicationinclude one or more of closed access, controlled access, drawer withmotion in one axis, and open access. Machine learning also aids inrecognizing anomalies including for example unusual sequences of eventsor sensor readings in a particular environment. Machine learning furtheraids in predicting future events such as for example time, duration,location and extent of tamper-related events.

As shown in FIG. 5A, metamodel 501 includes a family of models that areparameterized by data. Moreover, the metamodel parameter set 504requires an analyst wishing to evaluate a class of models to define theclass and set of parameters that can be varied as inputs to that model.

Based on the provided model descriptions, the metamodel family andmetamodel parameter set, concrete candidate models are generated 505.Each candidate model is evaluated and scored according to the modelevaluation block 520. The model structure 510 and model evaluation 520are described in more detail below with regard to the flow chart 515 ofFIG. 5B. After the one or more models and used for making predictions,the prediction results are individually scored resulting in the testresults 530. It is envisaged according to some embodiments that reportsand graphs are prepared in view of the test results.

It is envisaged that one or more of the following exemplary analysis mayuse this process. One analysis may include generating receiver operatingcharacteristic (ROC) curves for each of several tamper no-tamperclassification models including plots of false-positives versusfalse-negatives. Another analysis may include computing classificationaccuracy for several situational classification models. The outputcategories might include one or more of “stationary,” “in a moving car,”“in an idle car,” “in an airplane,” “on a boat,” “in hand,” “in abackpack,” etc. Yet another analysis may include computing change inaccuracy for some specific model as a function of changes in thequality, quantity, and preconditioning of the input data. This may helpanswer queries directed to the impact of reducing sampling rates to savepower.

As previously described above, raw sensor data 502 includes a log ofreceived sensor samples. Raw sensor data 502 provides an input topreprocessing 510 c. Sensor data is generally of the highest qualityavailable. Lower quality data is expected in power constrainedapplications.

FIG. 5B illustrates the model structure 510 and model evaluation 520 inblock 515 introduced in FIG. 5A. FIG. 5B illustrates an exemplaryembodiment directed to training a model structure 510 for detectingtamper events using machine learning algorithms with an applied trainingdata set 521.

According to an embodiment of this aspect, training hyperparameters 510a are set before learning occurs on the model structure 510.Hyperparameters may include the number of hidden layers, the number ofhidden nodes in each layer, the learning rate with various adaptationschemes for the learning rate, the regularization parameters, types ofnonlinear activation functions, and whether to use dropout. For deeplearning algorithms, the hyperparameters may include a number of layers,layer size, activation function, and the like. If the machine learningalgorithm is a support vector machine, the hyperparameters may includethe soft margin constant, regularization, and the like. If the machinelearning algorithm is a random forest classifier, the hyperparameterscan include the complexity (e.g., depth) of trees in the forest, numberof predictors at each node when growing the trees, and the like.

The model structure 510 also provides the network structure 510 b. Thenetwork structure 510 b nay include characteristics such as structuretopology, neuron types, renormalization layers, etc. An artificialneural network may be configured to determine a classification (e.g.,type of tamper) or whether one or more sensed values indicate that thereis a tamper event) based on input media. An artificial neural network isa network or circuit of artificial neurons or nodes for solvingartificial intelligence (AI) problems. Such artificial networks may beused for predictive modeling.

Prediction models employed in one or more embodiments may be and/orinclude one or more neural networks (e.g., deep neural networks,artificial neural networks, or other neural networks), other machinelearning models, or other prediction models. As an example, the neuralnetworks referred to variously herein may be based on a large collectionof neural units (or artificial neurons). Neural networks may looselymimic the manner in which a biological brain works (e.g., via largeclusters of biological neurons connected by axons), Each neural unit ofa neural network may be connected with many other neural units of theneural network. Such connections may be enforcing or inhibitory, intheir effect on the activation state of connected neural units. Theseneural network systems may be self-learning and trained, rather thanexplicitly programmed, and can perform significantly better in certainareas of problem solving, as compared to traditional computer programs.In some embodiments, neural networks may include multiple layers (e.g.,where a signal path traverses from input layers to output layers). Insome embodiments, back propagation techniques may be utilized to trainthe neural networks, where forward stimulation is used to reset weightson the “front” neural units. In some embodiments, stimulation andinhibition for neural networks may be more free-flowing, withconnections interacting in a more chaotic and complex fashion.

A convolutional neural network (CNN) is a sequence of hidden layers,such as convolutional layers interspersed with activation functions.Typical layers of a CNN are thus a convolutional layer, an activationlayer, batch normalization, and a pooling layer. Each output from one ofthese layers is an input for a next layer in the slack, the next layerbeing, e.g., another one of the same layer or a different layer. Forexample, a CNN may have two sequential convolutional layers. In anotherexample, a pooling layer may follow a convolutional layer. When manyhidden, convolutional layers are combined, this is called deep stacking.

Convolutional layers apply a convolution operation to an input to pass aresult to the next layer. That is, these layers may operate byconvolving a filler matrix with an input image from the light sensor,the filter being otherwise known as a kernel or receptive field. Filtermatrices may be based on randomly assigned numbers that get adjustedover a certain number of iterations with the help of a backpropagationtechnique. Filters may be overlaid as small lenses on parts, portions,or features of the image, and use of such filters lends to themathematics behind performed matching to break down the image. Stateddifferently, by moving the filler around to different places in theimage, the CNN may find different values for how well that filtermatches at that position. For example, the filter may be slid over theimage spatially to compute dot products after each slide iteration. Fromthis matrix multiplication, a result is summed onto a feature map.

After each convolutional layer, it is conventional to apply a nonlinear(activation) layer immediately afterward such as a ReLU, Softmax,Sigmoid, tanh, Softmax, and/or Leaky layer. For example, ReLUs may beused to change negative values (e.g., from the filtered images) to zero.

In some embodiments, a batch normalization layer may be used. The batchnormalization layer may be used to normalize an input layer by adjustingand sealing the activations. Batch normalization may exist before orafter an activation layer. To increase the stability of a neuralnetwork, batch normalization normalizes the output of a previousactivation layer by subtracting the batch mean and dividing by the batchstandard deviation.

The structure of the CNN (e.g., number of layers, types of layers,connectivity between layers, and one or more other structural aspects)may be selected, and then the parameters of each layer may be determinedby training. Some embodiments may train the CNN by dividing a trainingdata set into a training set and an evaluation set and then by using thetraining set. Training prediction models with known data improvesaccuracy and quality of outputs. Training data may be derived from anynumber of sources, as will be discussed in further detail below.

Generally, the training data set is derived from the above-described rawsensor data. The model specification 510 receives and preprocesses 510Cthe raw sensor data obtained by the IC tamper module. In someembodiments, the training data set may be obtained from raw sensor dataas well as from a prediction database comprising hundreds, thousands, oreven millions of events.

FIG. 5B also depicts Model Execution and Scoring Specification 519 d inthe Model Structure 510. These elements are employed to assign weightsto specific parameters. The parameters may include one or morethresholds assigned to the one or more sensors of the integrated module.

According to an embodiment as depicted in FIG. 5C, aspects ofpreprocessing 510C the model structure includes PreconditioningParameters 510C1. Preconditioning Parameters 510C1 include time seriessampling rales, data transformations, sampling and ground-truthclassification rules.

An initial step of preprocessing 510C1 involves aggregating all of theinput of the raw sensor data and training related meta-data provided asinputs to the model structure. In most applications, power consumptionis a concern, so data feeding the model in the deployed application willbe collected at a lower sampling rate and in lower power modes that havehigher noise floors. One of the initial steps includes taking thereceived high-quality data collected for training and reducing itsquality. Doing so matches expectations in deployed applications.

Next, the raw sensor data goes through a transformation process. It isexpected that several kinds of preprocessing transformation stepsinvolving data transformation will improve the accuracy of predictionsmade via machine teaming. Exemplary transformations include operationsthat can be implemented on the microcontroller in real-time, and whichsubstantially change the mathematical basis of the data in ways thatexpose properties that might be useful for making decisions.

Next, a subset of the data is selected. It is expected that reducing theamount of data fed into the model, if it can be done without impactingperformance, has direct benefit to computation time and powerconsumption. Such reductions may potentially simplify the model itself,and reduce the amount of computation required to precondition data forthe model. Reductions may include throwing out entire data channels, orselecting arbitrary subsets of existing data series (for example: every10th data point, or the most recent 5 seconds of data). Ideal candidateswould be operations that can feasibly be implemented on themicrocontroller in real-time, and which substantially change themathematical basis of the data in ways that expose properties that mightbe useful for making decisions.

The pro-processed data are transmitted for model evaluation 520, amireferred to as a training data set 521. It is envisaged that apercentage of the raw sensor data is used as the training data set.Another percentage of the raw sensor data is used as test data set. Thetraining data set 521 can include but is not limited to data from one ormore sensor drivers. The raw data provided by these one or more sensorsinclude but are not limited to light, acceleration, magnetic field,rotation, temperature, pressure, humidity and audio.

Subsequently, model inputs are classified. Classification is performedusing data available from raw collected data. In some instances, thismay include data not available in end applications. Unavailable dataincludes training button presses or other ground-truth sensors.

Further, the training data set 521 is sent to the model evaluationmodule 520. Here, the data set may be split between training andvalidation data sets 521, and a validation data set 524. Executing themodel 525 employs both the training data set and the validation dataset. For example, some embodiments may use 80% of the preprocessedsensor data for training and/or validation, and the other 20% may beused for validation and, or testing. The validation set may be a subsetof the training data, which is kept hidden from the model to testaccuracy of the model. The test set may be a dataset, which is new tothe model to test accuracy of the trained model.

In un embodiment of this aspect directed to detecting tamper events withmachine learning algorithms, a prediction model may employ a historicaldataset. The prediction model can be used to predict candidate parametervalues using one or more parameter predictors. Examples of a properly ofthe prior training data include: a total number of training examples,statistical properties of the distribution of training labels overtraining examples (e.g., a maximum, a minimum, a mean, a mode, astandard deviation, a skew), attributes of a time series of trainingexamples (e.g., time spanned by training examples, statistics of ratechanges, Fourier transform frequencies, and date properties such asseason, day of week, and time of day), attributes of the entity (e.g.,industry category, entity content categorization, etc.)

As further depicted in the exemplary embodiment of FIG. 5B, a network,e.g., neural network, of the model structure 510 is trained employingthe above-mentioned training data set 521. In various embodiments,training examples in the training data include input features of a userof the online system; input features; and ground truth data. Thetraining module 522 iteratively trains a machine learning model usingtraining examples to minimize an error between u prediction and theground truth data.

In one or more embodiments, the training module 522 of FIG. 5B trains amodel and then validates the trained model via supervised learning,unsupervised learning, semi-supervised learning, reinforcement learning,transduction learning, or the learning to learn algorithm.

Machine learning algorithms are typically organized into a taxonomybased on the desired outcome of the algorithm. Common algorithm typosenvisaged for use in the instant application include the following:

Supervised Learning: In supervised machine learning, the algorithmgenerates a function that maps inputs to desired outputs. One standardformulation of the supervised learning task is the classificationproblem. The learner approximates the behavior of a function which mapsa vector into one of several classes by looking at several input-outputexamples of the function. Examples of supervised machine learningalgorithms may include Naïve Bayes, Decision Trees, Boosted DecisionTrees, logistical Regression, Support Vector Machines, Neural Nets, andso forth.

Unsupervised Learning: In unsupervised machine learning, an agent modelsa set of inputs. Labeled examples are not available. Examples ofunsupervised machine learning techniques include clustering via indexedkeyword meta-data or social network link distance. Examples ofunsupervised machine learning algorithms may include K-mean Clusters.Nearest Neighbor Rules, Latent Semantic Analysis, and so forth.

Semi-Supervised Learning: semi-supervised machine learning combines bothlabeled and unlabeled examples to generate an appropriate function orclassifier.

Reinforcement learning: Reinforcement machine learning is where thealgorithm learns a policy of how to act given an observation of theworld. Every action has some impact in the environment, and theenvironment provides feedback that guides the reinforcement learningalgorithm.

Transduction Learning: Similar to supervised learning, transductionmachine learning does not explicitly construct a function. Rather,transduction machine learning tries to predict new outputs based ontraining inputs, training outputs, and test inputs which are availablewhile training.

Learning To Learn: Learning to learn machine algorithms learn its owninductive bias based on previous experience.

Training components may prepare one or more prediction models togenerate predictions. For example, a prediction model may analyze itspredictions against a reference set of data called the validation set.In some use cases, the reference outputs may be provided as inputs tothe prediction models, which the prediction model may determine whetherits predictions are accurate, to determine the level of accuracy orcompleteness with respect to the validation set data, or to make otherdeterminations. Such determinations may be utilized by the predictionmodels to improve the accuracy or completeness of their predictions. Inanother use case, accuracy or completeness indications with respect tothe prediction models' predictions may be provided to the predictionmodel, which, in turn, may utilize the accuracy or completenessindications to improve the accuracy or completeness of its predictionswith respect to input images. For example, a labeled training set mayenable model improvement. That is, the training model may use avalidation set of data to iterate over model parameters until the pointwhere it arrives at a final set of parameters/weights to use in themodel.

One the machine learning model is trained based upon the algorithm andtraining data set, the machine learning model may be used to identifypatterns in complex data. According to one aspect of the invention, thequeries that may be conducted as a result of the machine learningmethods of the present invention may be beneficially applied to searchdatabases containing large volumes of data to identify associations thatcorresponds to a particular class of interest, or exhibits a similarpattern. These databases may include data regarding biological data,chemical data, population data, financial data, climate data, imagedata, auditory data, etc.

The application also envisages re-training of the machine learningmodel. This may occur, for example, when the data is observed to bedifferent from the predicted parameter values. The difference may bebased on the observed data failing to meet predetermined thresholds.

Exemplary Use Cases

In another aspect of the application, real-life use cases are describedin reference to FIGS. 6A-C for a more complete understanding of theinvention. As an initial matter, the uses cases described herein areapplicable to both the heuristic and machine learning algorithmsdiscussed above. The use cases may include cryptographic hardwaredevices such as cryptocurrency wallets, consumer electronics, heavymachinery, furniture, leased equipment, recreational equipment, jewelry,important documents, and wireless.

In an embodiment, data produced by the device is cryptographicallysigned by an internal identity key. This prevents potential attackersfrom replacing or spoofing the module. Moreover, the device isprovisioned with one or more authorized public keys. In addition,received commands are logged and ignored if not signed by an authorizedkey.

Case interlock circuits are circuits expected to be disturbed whenopened or damaged. For example, buttons held down by the case, or wiresembedded in the case are monitored by GPIO, Temperature-dependentresistance is monitored by ADC for local temperature variations. It isenvisaged that case interlock circuits can be combined with othercircuits. In effect, they serve dual purposes as a capacitive touch padto detect human contact therewith.

In an embodiment of the use cases, FIG. 6A covers a crypto walletmanaged by software run on hardware. Particularly, the hardware includesone or more of the following features: (i) battery sufficient to run themodule for 1 year in a low-activity environment such as a closed safe;(ii) light pipe from module's on-board light sensor to exterior of case;(iii) signal indicating when connected to USB power source (e.g., to acharger); (iv) signal indicating when connected to USB data interface;(v) signal indicating when main MCU is powered on; (vi) multiplecase-interlock connections (wires in case that would disconnect if thecase were opened or damaged); (vii) capacitive touch sense pads on backand sides of case; (viii) communication interlace to main MCU; (ix)access to an external LED (to indicate low-power by infrequentblinking); (x) access to a hulk storage device (flash IC, μSD card, orthe like).

According to FIG. 6A, typical user interaction includes one or more of:(i) user powers on device; (ii) user enters PIN or passcode: (iii) mainMCU notifies device of login success or failure. If the action issuccessful, one or more of the following occur: (i) device is disarmed;(ii) main MCU transfers tamper status and event log from device; (iii)main MCU displays status to user and allows user to browse logs; (iv)user may select sensing profile via user interface provided by main MCU;(v) Device is armed whenever main MCU locks its screen or powers down.

According to an embodiment, host-specific events include: (i) devicepowered on but user did not authenticate within 1 min; (ii) caseinterlock tripped; (iii) device connected to USB power; (iv) deviceconnected to USB data; (v) capacitive touch on case pads.

FIG. 6B illustrates another use case covering consumer equipment, suchas for example, a laptop. The Hardware includes; (i) Device moduleembedded in a laptop, connected as an internal USB device, and alwayspowered by a non-removable battery; (ii) light pipe from module'son-board light sensor to exterior of case; (iii) external hall-effectsensor(s) in lower case detecting magnet in lid when closed; (iv) accessto signals indicating system power stale (probably via SMBus); (v)access to signals indicating whether main system battery is present;(vi) access to signals indicating USB port connection states; (vii)access to signals indicating presence of removable media (SD card,optical disc, etc.) (viii) access to signal indicating presence of SIMcard or any other removable internal components; (ix) access to signalsindicating whether main system is attempting to enable camera ormicrophone; (x) access to laptop internal camera, via GPIO-controlledmultiplexing of camera interface; (xi) capacitive touch sensors aroundcase, such as to left and right of trackpad; (xii) case interlockcircuits to detect when case is opened; (xiii) photoelectric sensor incable-lock port; (xiv) additional light sensor inside case to detectlight inside case; (xv) control of a tri-color LED to indicate amistate/tamper detection; and (xvi) access to a bulk storage device.

According to an embodiment in relation to FIG. 6B describes typical userinteraction. Typical user interaction may include one or more of: (i)user logs in to computer: (ii) main OS notifies device ofsuccess/failure of authentication. If successful, the device isdisarmed, the main OS transfers tamper status and event log from Device,the main OS displays status to user and allows user to browse logs,and/or the user may use a desktop application to configure Device byselecting profiles, adjusting timing, selecting arm conditions,enabling/disabling status LED, etc.

In an embodiment, typical arm conditions include any time the screenlocks, any time the case closes, and only when a certain button ispressed.

In an embodiment, host specific events include: (i) host power statechange; (ii) main battery connect/disconnect: (iii) external powersupply connect/disconnect; (iv) lid open/close; (v) USB portconnect/disconnect; (vi) removable media (SD card, optical disc, etc.)attach-detach; (vii) SIM card (or other removable internal component)removed/inserted; (viii) camera enable/disable; (ix) cameraenable/disable; (x) mic enable/disable; (xi) capacitive touch sensed oncase; (xii) case interlock tripped; (xiii) cable lock attached/detached;(xiv) light detected inside case

The device module may also serve as a system's main RTC, drop sensor,lid position sensor, and the like. The device module may also controlother system LEDs, such as power indicator, keyboard backlight, and thelike.

FIG. 6C illustrates another use case covering heavy machinery, such asfor example a gas pump. Features of the hardware includes one or more ofthe following: (i) Device is primary MCU; (ii) wireless communicationsinterface (Bluetooth, LoRa, cellular, etc.); (iii) designed to run fromwide range of power supplies to maximize compatibility; (iv) on-boardbattery for about 1 week run time if power is lost; (v) connectors tointerface to various accessories such as switches to detect service dooropening; and (vi) very small board, overall size possibly as small as 1in².

Typical user interactions include one or more of the following: (i) asecurity professional for a service station chain pairs and configuresdevice using a desktop computer or smartphone application; device isinstalled inside gas pump; (iii) device reports in real time anysuspected tamper, through some network connection back to a monitoringsystem; (iv) when tamper events are recorded, they are cross-referencedto planned/reported service actions and station security surveillancesystems.

Host specific events include one or more of: (i) powerattached/detached; (ii) network link connected/disconnected; (iii)unauthorized command received via network link; and (iv) accessorydetected activity (e.g., switch indicates service panel was opened).

It is envisaged the device is configured in a controlled access profileby default. The device may also be designed to detect and report directtamper with the module itself. In the event of extended power loss (>1week) or direct module tamper detection (perhaps including GPS detectionthat device has left an assigned geofence, or loss of networkcommunications for a predetermined duration), the module wipes itsfirmware clean and will require re-provisioning. Data collected beforewiping may optionally be retained in a form encrypted for recovery usinga public key specified at time of previous device provisioning.

While the system and method have been described in terms of what arepresently considered to be specific embodiments, the disclosure need notbe limited to the disclosed embodiments. It is intended to cover variousmodifications and similar arrangements included within the spirit andscope of the claims, the scope of which should be accorded the broadestinterpretation so as to encompass all such modifications and similarstructures. The present disclosure includes any and all embodiments ofthe following claims.

What is claimed is:
 1. An integrated module comprising: amicrocontroller; an inertial measurement unit (IMU) including anaccelerometer; a low-power accelerometer; and an environmental sensor,wherein a distance between the environmental sensor and the IMU isgreater than a distance between the IMU and the low-power accelerometer.2. The integrated module according to claim 1, wherein the distancebetween the IMU and the low-power accelerometer is greater than adistance between the IMU and the microcontroller.
 3. The integratedmodule according to claim 1, further comprising a light sensor.
 4. Theintegrated module according to claim 3, wherein a distance between thelight sensor and the IMU is less than the distance between the IMU andthe low-power accelerometer.
 5. The integrated module according to claim1, further comprising a microphone.
 6. The integrated module accordingto claim 5, wherein a distance between the microphone and the IMU isgreater than the distance between the IMU and the low-poweraccelerometer.
 7. The integrated module according to claim 1, whereinthe environmental sensor is selected from the group consisting of atemperature sensor, pressure sensor, humidity sensor and combinationsthereof.
 8. The integrated module according to claim 1, wherein thedistance between the environmental sensor and the IMU ranges between 8to 10 mm.
 9. The integrated module according to claim 1, wherein thedistance between the low-power accelerometer and the IMU ranges between6.5 and 8.5 mm.
 10. A method of making an integrated module comprising:providing a board; locating a microcontroller; an inertial measurementunit (IMU), a low-power accelerometer, an environmental sensor, andarranging the microcontroller, the IMU, the low-power accelerometer, andthe environmental sensor on the board, wherein a distance between theIMU and the low-power accelerometer is greater than a distance betweenthe IMU and the microcontroller, and wherein a noise target between theIMU and low-power accelerometer is less than half of a noise targetbetween the IMU and microcontroller.
 11. The method of making theintegrated module according to claim 10, wherein the locating andarranging steps include a light sensor.
 12. The method of making theintegrated module according to claim 11, wherein a distance between thelight sensor and the IMU is less than the distance between the IMU andthe low-power accelerometer.
 13. The method of making the integratedmodule according to claim 10, wherein the locating and arranging stepsinclude a microphone.
 14. The method of making the integrated moduleaccording to claim 13, wherein a distance between the microphone and theIMU is greater than the distance between the IMU and the low-poweraccelerometer.
 15. The method of making the integrated module accordingto claim 14, wherein a distance between the environmental sensor and theIMU is greater than the distance between the IMU and the low-poweraccelerometer.
 16. The method of making the integrated module accordingto claim 15, wherein the environmental sensor is selected from the groupconsisting of a temperature sensor, pressure sensor, humidity sensor andcombinations thereof.
 17. A tamper detection system comprising: aconsumer article; and an integrated module including a microcontroller,an inertial measurement unit (IMU) including an accelerometer, alow-power accelerometer; and an environmental sensor arranged on or inthe consumer article.
 18. The tamper detection system of claim 17,wherein the consumer article includes a bag, purse, briefcase, wallet orluggage.
 19. The tamper detection system of claim 17, wherein a distancebetween the environmental sensor and the IMU is greater than a distancebetween the IMU and the low-power accelerometer, and wherein thedistance between the IMU and the low-power accelerometer is greater thana distance between the IMU and the microcontroller.
 20. The tamperdetection system of claim 17, wherein the integrated module furtherincludes a light sensor and a microphone.